﻿<RibbonWindow
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:r="namespace:Microsoft.Windows.Controls.Ribbon"
        xmlns:avalonDock="http://schemas.xceed.com/wpf/xaml/avalondock"
        xmlns:s="clr-namespace:Sagacious.Automation.Controls"
        x:Class="Sagacious.Presentation.MainWindow"
        Title="Sagacious" Height="495" Width="880" WindowState="Maximized">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="140"/>
            <RowDefinition Height="*"/>
            <RowDefinition Height="24"/>
        </Grid.RowDefinitions>
        <Ribbon Name="Ribbon" DockPanel.Dock="Top" Grid.Row="0" SelectedIndex="0">
            <RibbonTab Header="Home">
            </RibbonTab>
            <RibbonTab Header="View">
                <RibbonGroup Header="PowerShell">
                    <RibbonButton Label="Console" />
                    <RibbonButton Label="Editor" />
                </RibbonGroup>
            </RibbonTab>
        </Ribbon>
        <avalonDock:DockingManager x:Name="DockingManager" Grid.Row="1">
            <avalonDock:LayoutRoot>
                <avalonDock:LayoutPanel Orientation="Horizontal">
                    <avalonDock:LayoutDocumentPaneGroup Orientation="Vertical">
                        <avalonDock:LayoutDocumentPane SelectedContentIndex="0">
                            <avalonDock:LayoutDocument Title="Log Viewer">
                                <DataGrid>

                                </DataGrid>
                            </avalonDock:LayoutDocument>
                        </avalonDock:LayoutDocumentPane>
                        <avalonDock:LayoutDocumentPane>
                            <avalonDock:LayoutDocument Title="PowerShell Console">
                                <s:PowerShellConsole x:Name="PowerShellConsole" />
                            </avalonDock:LayoutDocument>
                            <avalonDock:LayoutDocument Title="PowerShell Editor">
                                <RichTextBox />
                            </avalonDock:LayoutDocument>
                        </avalonDock:LayoutDocumentPane>
                    </avalonDock:LayoutDocumentPaneGroup>
                    <avalonDock:LayoutAnchorablePane DockWidth="150">
                        <avalonDock:LayoutAnchorable Title="Sample Tool Pane">
                            <TextBox />
                        </avalonDock:LayoutAnchorable>
                    </avalonDock:LayoutAnchorablePane>
                </avalonDock:LayoutPanel>
                <avalonDock:LayoutRoot.LeftSide>
                    <avalonDock:LayoutAnchorSide>
                        <avalonDock:LayoutAnchorGroup>
                            <avalonDock:LayoutAnchorable Title="Autohidden Content">
                                <TextBox />
                            </avalonDock:LayoutAnchorable>
                        </avalonDock:LayoutAnchorGroup>
                    </avalonDock:LayoutAnchorSide>
                </avalonDock:LayoutRoot.LeftSide>
            </avalonDock:LayoutRoot>
        </avalonDock:DockingManager>
        <StatusBar Grid.Row="2">
            <StatusBarItem Name="Position" Content="Position: 0" BorderThickness="1" />
            <StatusBarItem Content="Sagacious Log Viewer"/>
        </StatusBar>
    </Grid>
</RibbonWindow>
